package com.damie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dadie.Domain.UserDomain;
import com.dadie.Dto.UserDto;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dadie.parame.UserParame;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Alon
 * @since 2021-01-22
 */
public interface UserService extends IService<UserDomain> {

    Page<UserDto> selectAllUser(Integer index, Integer size, UserParame userParame);

    UserDto selectByIdUser(String id);

    UserDto deleteByIdUser(String id);

    UserDto updateByIdUser(UserParame userParame);
}
